package com.inspur.edp.ai.flow.engine.strategy;

import com.inspur.edp.ai.flow.metadata.AbsNode;
import com.inspur.edp.ai.flow.metadata.Edge;
import lombok.Data;

import java.util.List;

/**
 * @author lizhaorui
 * @date 2025/9/23
 * @description
 */

@Data
public class LoopBodyFlowStrategy implements FlowStrategy {

    public static final String KIND = "loopBody";

    /**
     * 循环节点Id
     */
    private String nodeId;

    /**
     * 循环体节点列表
     */
    private List<AbsNode> nodes;

    /**
     * 循环体连线列表
     */
    private List<Edge> edges;

    @Override
    public String getKind() {
        return KIND;
    }

}